#ifndef __FUNC_H__ 
#define __FUNC_H__

typedef struct peodatas
{
	char name[32];
	int age;
	int IDnum;
}peo_data;

typedef struct peonode
{
	peo_data datas;
	struct peonode *next;
}link_node;

link_node *creat_head(void);

int head_insert(link_node *H);

int tail_insert(link_node *H);

int pos_insert(link_node *H);

int head_delete(link_node *H);

int tail_delete(link_node *H);

int pos_delete(link_node *H);

int view(link_node *H);


#endif
